	<link rel="stylesheet" type="text/css" href="<?php echo $template_uri; ?>/css/jquery.fancybox.css" />
	<script src="<?php echo $template_uri; ?>/js/jquery.js"></script>
	<script type="text/javascript" src="<?php echo $template_uri; ?>/js/jquery.fancybox.js"></script>
	<script>
	/* <![CDATA[ */
	$(document).ready(function () {
		$(".fancybox").fancybox({
			fitToView: false,
			content: '<span></span>',
			scrolling: 'no',
			afterLoad: function () {
				var $width = $(this.element).data('width');
				var $height = $(this.element).data('height');
				this.content = "<embed src='<?php echo $template_uri; ?>/tools/player.swf?file=" + this.href + "&autostart=true&amp;wmode=opaque' type='application/x-shockwave-flash' width='" + $width + "' height='" + $height + "'></embed>";
			}
		});
	});
	/* ]]> */
	</script>
